

function checkData6(){    
		var name = document.getElementById("txtName").value;  
		if(!name)
		{
			alert("请输入姓名");
			return false;
		}
		 else if( (document.getElementById("boy").checked==false) && (document.getElementById("girl").checked==false) )
		 {
			alert("请选择性别");
	 	return false;
		 }
		alert("欢迎加入我们❤！")
		return true;
}
function check6(){
		var r = checkData6(); 
		return r;
}
function showImg(){
		var img=document.getElementById("img1");
		img.style.display="block";
}
					
function hideImg(){
		var img = document.getElementById("img1");
		img.style.display ="none";
}
